package com.zmn.oms.common.dio.normal.acceptance;

import com.zmn.oms.common.dto.OmsBaseOperator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Map;

/**
 * 类描述：
 *
 * @author wangxiaokun
 * @since 2021/09/18 17:24
 */
@ApiModel("修改订单验收入参")
@Data
public class OrderAcceptanceDIO extends OmsBaseOperator implements Serializable {

    private static final long serialVersionUID = 5826411866321424531L;

    /**
     * 验收id
     */
    @ApiModelProperty(value = "验收id", required = true)
    @NotNull(message = "验收id不能为空")
    private Long acceptanceId;

    /**
     * 验收结果类型
     * @see com.zmn.oms.common.constant.OrderConsts#ORDER_ACCEPTANCE_RESULT_TYPE_H5
     */
    @ApiModelProperty(value = "验收结果类型")
    private Integer acceptanceResultType;

    /**
     * 验收结果 1 待验收  2 验收成功  3验收失败 4无需验收
     * @see com.zmn.oms.common.constant.OrderConsts#ORDER_ACCEPTANCE_STATUS_WAIT
     *
     */
    @ApiModelProperty(value = "验收结果", required = true)
    @NotNull(message = "验收结果不能为空")
    private Integer acceptanceResultStatus;

    /**
     * 验收失败类型
     * @see com.zmn.oms.common.constant.OrderConsts#ORDER_ACCEPTANCE_FAIL_TYPE_DEFAULT
     */
    @ApiModelProperty("验收失败类型")
    private Integer failType;

    /**
     * 验收缘由
     */
    @ApiModelProperty("验收缘由")
    private Map<Integer, String> reasonMap;

    @ApiModelProperty("加密手机号")
    private String acceptVersion;

    /**
     * @Author wangyanci
     * @Description 退款差额-一口价服务验收退款
     * @Date 17:22 2022/4/12
     **/
    @ApiModelProperty("退款差额")
    private Integer refundDifferenceAmount;
    /**
     * 验收评价
     */
    @ApiModelProperty(value = "验收评价")
    private Integer acceptEvaluate;

    /**
     * 是否匿名 1:不是匿名, 2:匿名
     */
    @ApiModelProperty(value = "1:不是匿名, 2:匿名")
    private Integer anonymous;
}
